<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
    <meta charset="utf-8"/>
    <title>    TFC-Trotri Foundation Classes &raquo; \tfc\mvc\Html
</title>
    <meta name="author" content=""/>
    <meta name="description" content=""/>

            <link href="../css/template.css" rel="stylesheet" media="all"/>
    
            <!--[if lt IE 9]>
        
        <![endif]-->
        <script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script>
        <script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script>
        <script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script>
        <script src="../js/bootstrap.js" type="text/javascript"></script>
        <script src="../js/template.js" type="text/javascript"></script>
        <script src="../js/prettify/prettify.min.js" type="text/javascript"></script>
    
            <link rel="shortcut icon" href="../img/favicon.ico"/>
        <link rel="apple-touch-icon" href="../img/apple-touch-icon.png"/>
        <link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png"/>
        <link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png"/>
    </head>
<body>

        <div class="navbar navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container">
                <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                    <span class="icon-bar"></span> <span class="icon-bar"></span>
                    <span class="icon-bar"></span> </a>
                <a class="brand" href="http://www.trotri.com/">Trotri官网</a><a class="brand" href="../index.html">TFC-Trotri Foundation Classes</a>

                <div class="nav-collapse">
                    <ul class="nav">
                        <li class="dropdown">
                            <a href="#api" class="dropdown-toggle" data-toggle="dropdown">
                                API Documentation <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                                                    <li><a>Namespaces</a></li>
                                                                        <li><a href="../namespaces/tfc.html">tfc</a></li>
                                                                                                                                </ul>
                        </li>
                        <li class="dropdown" id="charts-menu">
                            <a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
                                Charts <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                <li>
                                    <a href="../graph_class.html">
                                        <i class="icon-list-alt"></i>&#160;Class hierarchy diagram
                                    </a>
                                </li>
                            </ul>
                        </li>
                        <li class="dropdown" id="reports-menu">
                            <a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
                                Reports <b class="caret"></b>
                            </a>
                            <ul class="dropdown-menu">
                                <li>
                                    <a href="../errors.html">
                                         
                                    </a>
                                </li>
                                <li>
                                    <a href="../markers.html">
                                        <i class="icon-list-alt"></i>&#160;Markers
                                    </a>
                                </li>
                                <li>
                                    <a href="../deprecated.html">
                                        <i class="icon-list-alt"></i>&#160;Deprecated
                                    </a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="go_to_top">
            <a href="#___" style="color: inherit">Back to top&#160;&#160;<i class="icon-upload icon-white"></i></a>
        </div>
    </div>
    
    <div id="___" class="container">
        <noscript>
            <div class="alert alert-warning">
                Javascript is disabled; several features are only available if Javascript is enabled.
            </div>
        </noscript>

        
            <style>
        .deprecated h2 {
            text-decoration: line-through;
        }
    </style>
    <div class="row">
        <div class="span4">
                    <div class="btn-group view pull-right" data-toggle="buttons-radio">
        <button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button>
        <button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
    </div>
    <div class="btn-group visibility" data-toggle="buttons-checkbox">
        <button class="btn public active" title="Show public elements">Public</button>
        <button class="btn protected" title="Show protected elements">Protected</button>
        <button class="btn private" title="Show private elements">Private</button>
        <button class="btn inherited active" title="Show inherited elements">Inherited</button>
    </div>

        <ul class="side-nav nav nav-list">
        <li class="nav-header">
            <i class="icon-custom icon-method"></i> Methods
            <ul>
                                                                                                    <li class="method public">
        <a href="#method___construct" title="__construct :: 构造方法：初始化页面编码方式">
            <span class="description">构造方法：初始化页面编码方式</span><pre>__construct</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_text" title="text :: 获取表单元素：&lt;input type=&quot;text&quot; /&gt;">
            <span class="description">获取表单元素：&lt;input type=&quot;text&quot; /&gt;</span><pre>text</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_email" title="email :: 获取表单元素：&lt;input type=&quot;email&quot; /&gt;">
            <span class="description">获取表单元素：&lt;input type=&quot;email&quot; /&gt;</span><pre>email</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_password" title="password :: 获取表单元素：&lt;input type=&quot;password&quot; /&gt;">
            <span class="description">获取表单元素：&lt;input type=&quot;password&quot; /&gt;</span><pre>password</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_hidden" title="hidden :: 获取表单元素：&lt;input type=&quot;hidden&quot; /&gt;">
            <span class="description">获取表单元素：&lt;input type=&quot;hidden&quot; /&gt;</span><pre>hidden</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_radio" title="radio :: 获取表单元素：&lt;input type=&quot;radio&quot; /&gt;">
            <span class="description">获取表单元素：&lt;input type=&quot;radio&quot; /&gt;</span><pre>radio</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_checkbox" title="checkbox :: 获取表单元素：&lt;input type=&quot;checkbox&quot; /&gt;">
            <span class="description">获取表单元素：&lt;input type=&quot;checkbox&quot; /&gt;</span><pre>checkbox</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_file" title="file :: 获取表单元素：&lt;input type=&quot;file&quot; /&gt;">
            <span class="description">获取表单元素：&lt;input type=&quot;file&quot; /&gt;</span><pre>file</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_submit" title="submit :: 获取表单元素：&lt;input type=&quot;submit&quot; /&gt;">
            <span class="description">获取表单元素：&lt;input type=&quot;submit&quot; /&gt;</span><pre>submit</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_reset" title="reset :: 获取表单元素：&lt;input type=&quot;reset&quot; /&gt;">
            <span class="description">获取表单元素：&lt;input type=&quot;reset&quot; /&gt;</span><pre>reset</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_image" title="image :: 获取表单元素：&lt;input type=&quot;image&quot; src=&quot;&quot; /&gt;">
            <span class="description">获取表单元素：&lt;input type=&quot;image&quot; src=&quot;&quot; /&gt;</span><pre>image</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_button" title="button :: 获取表单元素：&lt;input type=&quot;button&quot; /&gt;">
            <span class="description">获取表单元素：&lt;input type=&quot;button&quot; /&gt;</span><pre>button</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_textarea" title="textarea :: 获取表单元素：&lt;textarea&gt;&lt;/textarea&gt;">
            <span class="description">获取表单元素：&lt;textarea&gt;&lt;/textarea&gt;</span><pre>textarea</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_options" title="options :: 获取多个表单元素：&lt;option&gt;&lt;/option&gt;\n&lt;option&gt;&lt;/option&gt;\n.">
            <span class="description">获取多个表单元素：&lt;option&gt;&lt;/option&gt;\n&lt;option&gt;&lt;/option&gt;\n.</span><pre>options</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_option" title="option :: 获取表单元素：&lt;option&gt;&lt;/option&gt;">
            <span class="description">获取表单元素：&lt;option&gt;&lt;/option&gt;</span><pre>option</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_input" title="input :: 获取表单元素：&lt;input /&gt;">
            <span class="description">获取表单元素：&lt;input /&gt;</span><pre>input</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_cssFile" title="cssFile :: 获取CSS文件标签">
            <span class="description">获取CSS文件标签</span><pre>cssFile</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_jsFile" title="jsFile :: 获取JavaScript文件标签">
            <span class="description">获取JavaScript文件标签</span><pre>jsFile</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_css" title="css :: 获取Css代码">
            <span class="description">获取Css代码</span><pre>css</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_js" title="js :: 获取JavaScript代码">
            <span class="description">获取JavaScript代码</span><pre>js</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_img" title="img :: 获取img标签：&lt;img src=&quot;&quot; /&gt;">
            <span class="description">获取img标签：&lt;img src=&quot;&quot; /&gt;</span><pre>img</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_a" title="a :: 获取链接标签：&lt;a href=&quot;&quot;&gt;&lt;/a&gt;">
            <span class="description">获取链接标签：&lt;a href=&quot;&quot;&gt;&lt;/a&gt;</span><pre>a</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_openSelect" title="openSelect :: 获取Select开始标签：&lt;select&gt;">
            <span class="description">获取Select开始标签：&lt;select&gt;</span><pre>openSelect</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_closeSelect" title="closeSelect :: 获取Select结束标签：&lt;/select&gt;">
            <span class="description">获取Select结束标签：&lt;/select&gt;</span><pre>closeSelect</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_openForm" title="openForm :: 获取Form开始标签：&lt;form action=&quot;&quot;&gt;">
            <span class="description">获取Form开始标签：&lt;form action=&quot;&quot;&gt;</span><pre>openForm</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_openFormMultipart" title="openFormMultipart :: 获取二进制Form开始标签：&lt;form action=&quot;&quot; enctype=&quot;multipart/form-data&quot;&gt;">
            <span class="description">获取二进制Form开始标签：&lt;form action=&quot;&quot; enctype=&quot;multipart/form-data&quot;&gt;</span><pre>openFormMultipart</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_closeForm" title="closeForm :: 获取Form结束标签：&lt;/form&gt;">
            <span class="description">获取Form结束标签：&lt;/form&gt;</span><pre>closeForm</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_openFieldset" title="openFieldset :: 获取Fieldset开始标签：&lt;fieldset&gt;">
            <span class="description">获取Fieldset开始标签：&lt;fieldset&gt;</span><pre>openFieldset</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_closeFieldset" title="closeFieldset :: 获取Fieldset结束标签：&lt;/fieldset&gt;">
            <span class="description">获取Fieldset结束标签：&lt;/fieldset&gt;</span><pre>closeFieldset</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_legend" title="legend :: 获取legend标签：&lt;legend&gt;&lt;/legend&gt;">
            <span class="description">获取legend标签：&lt;legend&gt;&lt;/legend&gt;</span><pre>legend</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_contentType" title="contentType :: 获取meta标签：&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;">
            <span class="description">获取meta标签：&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;</span><pre>contentType</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_meta" title="meta :: 获取meta标签：&lt;meta name=&quot;&quot; http-equiv=&quot;&quot; content=&quot;&quot; /&gt;">
            <span class="description">获取meta标签：&lt;meta name=&quot;&quot; http-equiv=&quot;&quot; content=&quot;&quot; /&gt;</span><pre>meta</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_link" title="link :: 获取link标签：&lt;link rel=&quot;&quot; type=&quot;&quot; href=&quot;&quot; /&gt;">
            <span class="description">获取link标签：&lt;link rel=&quot;&quot; type=&quot;&quot; href=&quot;&quot; /&gt;</span><pre>link</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_tag" title="tag :: 通过标签名，获取Html标签">
            <span class="description">通过标签名，获取Html标签</span><pre>tag</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_openTag" title="openTag :: 通过标签名，获取Html开始标签">
            <span class="description">通过标签名，获取Html开始标签</span><pre>openTag</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_closeTag" title="closeTag :: 通过标签名，获取Html结束标签">
            <span class="description">通过标签名，获取Html结束标签</span><pre>closeTag</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_parseAttributes" title="parseAttributes :: 拼接Html标签中的属性">
            <span class="description">拼接Html标签中的属性</span><pre>parseAttributes</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_encode" title="encode :: 对页面展示内容编码">
            <span class="description">对页面展示内容编码</span><pre>encode</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_decode" title="decode :: 对页面展示内容解码">
            <span class="description">对页面展示内容解码</span><pre>decode</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_getEncoding" title="getEncoding :: 获取页面编码方式">
            <span class="description">获取页面编码方式</span><pre>getEncoding</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_setEncoding" title="setEncoding :: 设置页面编码方式">
            <span class="description">设置页面编码方式</span><pre>setEncoding</pre>
        </a>
    </li>

                                                                                                        <li class="method public">
        <a href="#method_cdata" title="cdata :: 忽略文本中被解析的字符数据">
            <span class="description">忽略文本中被解析的字符数据</span><pre>cdata</pre>
        </a>
    </li>

                                                </ul>
        </li>
        <li class="nav-header protected">» Protected
            <ul>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </ul>
        </li>
        <li class="nav-header private">» Private
            <ul>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </ul>
        </li>
        <li class="nav-header">
            <i class="icon-custom icon-constant"></i> Constants
            <ul>
                            </ul>
        </li>
    </ul>


        </div>

        <div class="span8">
            <div class="element class">
                <h1>Html</h1>
                <small style="display: block; text-align: right">
                                                        </small>
                <p class="short_description">Html class file
页面辅助类，帮助创建HTML Element</p>
                <div class="details">
                    <div class="long_description">
                        
                    </div>
                    <table class="table table-bordered">
                                                                                    <tr>
                                    <th>
                                        author
                                                                            </th>
                                    <td>
                                                                                    
                                                                                <p>宋欢 <a href="mailto:trotri@yeah.net">trotri@yeah.net</a></p>
                                    </td>
                                </tr>
                                                                                                                <tr>
                                    <th>
                                        version
                                                                            </th>
                                    <td>
                                                                                    
                                                                                <p>$Id: Html.php 1 2013-04-14 20:00:06Z huan.song $</p>
                                    </td>
                                </tr>
                                                                                                                <tr>
                                    <th>
                                        package
                                                                            </th>
                                    <td>
                                                                                    
                                                                                <p>tfc.mvc</p>
                                    </td>
                                </tr>
                                                                                                                <tr>
                                    <th>
                                        since
                                                                            </th>
                                    <td>
                                                                                    1.0
                                                                                
                                    </td>
                                </tr>
                                                                                                                                                                                                                                    </table>

                    <h3><i class="icon-custom icon-method"></i> Methods</h3>
                                                                <a id="method___construct"></a>
                        <div class="element clickable method public  method___construct" data-toggle="collapse" data-target=".method___construct .collapse">
                            <h2>构造方法：初始化页面编码方式</h2>
                            <pre>__construct(string $encoding = null) </pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$encoding</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_text"></a>
                        <div class="element clickable method public  method_text" data-toggle="collapse" data-target=".method_text .collapse">
                            <h2>获取表单元素：&lt;input type=&quot;text&quot; /&gt;</h2>
                            <pre>text(string $name, mixed $value = &#039;&#039;, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$value</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_email"></a>
                        <div class="element clickable method public  method_email" data-toggle="collapse" data-target=".method_email .collapse">
                            <h2>获取表单元素：&lt;input type=&quot;email&quot; /&gt;</h2>
                            <pre>email(string $name, mixed $value = &#039;&#039;, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$value</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_password"></a>
                        <div class="element clickable method public  method_password" data-toggle="collapse" data-target=".method_password .collapse">
                            <h2>获取表单元素：&lt;input type=&quot;password&quot; /&gt;</h2>
                            <pre>password(string $name, mixed $value = &#039;&#039;, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$value</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_hidden"></a>
                        <div class="element clickable method public  method_hidden" data-toggle="collapse" data-target=".method_hidden .collapse">
                            <h2>获取表单元素：&lt;input type=&quot;hidden&quot; /&gt;</h2>
                            <pre>hidden(string $name, mixed $value, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$value</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_radio"></a>
                        <div class="element clickable method public  method_radio" data-toggle="collapse" data-target=".method_radio .collapse">
                            <h2>获取表单元素：&lt;input type=&quot;radio&quot; /&gt;</h2>
                            <pre>radio(string $name, mixed $value, boolean $checked = false, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$value</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$checked</h4>
                                                <code>boolean</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_checkbox"></a>
                        <div class="element clickable method public  method_checkbox" data-toggle="collapse" data-target=".method_checkbox .collapse">
                            <h2>获取表单元素：&lt;input type=&quot;checkbox&quot; /&gt;</h2>
                            <pre>checkbox(string $name, mixed $value, boolean $checked = false, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$value</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$checked</h4>
                                                <code>boolean</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_file"></a>
                        <div class="element clickable method public  method_file" data-toggle="collapse" data-target=".method_file .collapse">
                            <h2>获取表单元素：&lt;input type=&quot;file&quot; /&gt;</h2>
                            <pre>file(string $name, mixed $value = &#039;&#039;, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$value</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_submit"></a>
                        <div class="element clickable method public  method_submit" data-toggle="collapse" data-target=".method_submit .collapse">
                            <h2>获取表单元素：&lt;input type=&quot;submit&quot; /&gt;</h2>
                            <pre>submit(mixed $value, string $name = &#039;submit&#039;, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$value</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_reset"></a>
                        <div class="element clickable method public  method_reset" data-toggle="collapse" data-target=".method_reset .collapse">
                            <h2>获取表单元素：&lt;input type=&quot;reset&quot; /&gt;</h2>
                            <pre>reset(mixed $value, string $name = &#039;reset&#039;, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$value</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_image"></a>
                        <div class="element clickable method public  method_image" data-toggle="collapse" data-target=".method_image .collapse">
                            <h2>获取表单元素：&lt;input type=&quot;image&quot; src=&quot;&quot; /&gt;</h2>
                            <pre>image(string $src, string $name = &#039;image&#039;, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$src</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_button"></a>
                        <div class="element clickable method public  method_button" data-toggle="collapse" data-target=".method_button .collapse">
                            <h2>获取表单元素：&lt;input type=&quot;button&quot; /&gt;</h2>
                            <pre>button(mixed $value, string $name = &#039;button&#039;, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$value</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_textarea"></a>
                        <div class="element clickable method public  method_textarea" data-toggle="collapse" data-target=".method_textarea .collapse">
                            <h2>获取表单元素：&lt;textarea&gt;&lt;/textarea&gt;</h2>
                            <pre>textarea(string $name, string $content = &#039;&#039;, array $attributes = array(), boolean $encode = true) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$content</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$encode</h4>
                                                <code>boolean</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_options"></a>
                        <div class="element clickable method public  method_options" data-toggle="collapse" data-target=".method_options .collapse">
                            <h2>获取多个表单元素：&lt;option&gt;&lt;/option&gt;\n&lt;option&gt;&lt;/option&gt;\n.</h2>
                            <pre>options(array $data, mixed $selectedValue, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"><p>..\n<option></option></p></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$data</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$selectedValue</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_option"></a>
                        <div class="element clickable method public  method_option" data-toggle="collapse" data-target=".method_option .collapse">
                            <h2>获取表单元素：&lt;option&gt;&lt;/option&gt;</h2>
                            <pre>option(string $prompt, mixed $value, boolean $selected = false, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$prompt</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$value</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$selected</h4>
                                                <code>boolean</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_input"></a>
                        <div class="element clickable method public  method_input" data-toggle="collapse" data-target=".method_input .collapse">
                            <h2>获取表单元素：&lt;input /&gt;</h2>
                            <pre>input(string $type, string $name, mixed $value = &#039;&#039;, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$type</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$value</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_cssFile"></a>
                        <div class="element clickable method public  method_cssFile" data-toggle="collapse" data-target=".method_cssFile .collapse">
                            <h2>获取CSS文件标签</h2>
                            <pre>cssFile(string $href, string $media = &#039;&#039;, string $pad = &quot;\n&quot;) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$href</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$media</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$pad</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_jsFile"></a>
                        <div class="element clickable method public  method_jsFile" data-toggle="collapse" data-target=".method_jsFile .collapse">
                            <h2>获取JavaScript文件标签</h2>
                            <pre>jsFile(string $src, string $pad = &quot;\n&quot;) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$src</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$pad</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_css"></a>
                        <div class="element clickable method public  method_css" data-toggle="collapse" data-target=".method_css .collapse">
                            <h2>获取Css代码</h2>
                            <pre>css(string $text, string $media = &#039;&#039;) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$text</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$media</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_js"></a>
                        <div class="element clickable method public  method_js" data-toggle="collapse" data-target=".method_js .collapse">
                            <h2>获取JavaScript代码</h2>
                            <pre>js(string $text) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$text</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_img"></a>
                        <div class="element clickable method public  method_img" data-toggle="collapse" data-target=".method_img .collapse">
                            <h2>获取img标签：&lt;img src=&quot;&quot; /&gt;</h2>
                            <pre>img(string $src, string $alt = &#039;&#039;, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$src</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$alt</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_a"></a>
                        <div class="element clickable method public  method_a" data-toggle="collapse" data-target=".method_a .collapse">
                            <h2>获取链接标签：&lt;a href=&quot;&quot;&gt;&lt;/a&gt;</h2>
                            <pre>a(string $content, string $href = &#039;#&#039;, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$content</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$href</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_openSelect"></a>
                        <div class="element clickable method public  method_openSelect" data-toggle="collapse" data-target=".method_openSelect .collapse">
                            <h2>获取Select开始标签：&lt;select&gt;</h2>
                            <pre>openSelect(string $name, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_closeSelect"></a>
                        <div class="element clickable method public  method_closeSelect" data-toggle="collapse" data-target=".method_closeSelect .collapse">
                            <h2>获取Select结束标签：&lt;/select&gt;</h2>
                            <pre>closeSelect() : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_openForm"></a>
                        <div class="element clickable method public  method_openForm" data-toggle="collapse" data-target=".method_openForm .collapse">
                            <h2>获取Form开始标签：&lt;form action=&quot;&quot;&gt;</h2>
                            <pre>openForm(string $action = &#039;#&#039;, string $method = &#039;post&#039;, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$action</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$method</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_openFormMultipart"></a>
                        <div class="element clickable method public  method_openFormMultipart" data-toggle="collapse" data-target=".method_openFormMultipart .collapse">
                            <h2>获取二进制Form开始标签：&lt;form action=&quot;&quot; enctype=&quot;multipart/form-data&quot;&gt;</h2>
                            <pre>openFormMultipart(string $action = &#039;#&#039;, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$action</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_closeForm"></a>
                        <div class="element clickable method public  method_closeForm" data-toggle="collapse" data-target=".method_closeForm .collapse">
                            <h2>获取Form结束标签：&lt;/form&gt;</h2>
                            <pre>closeForm() : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_openFieldset"></a>
                        <div class="element clickable method public  method_openFieldset" data-toggle="collapse" data-target=".method_openFieldset .collapse">
                            <h2>获取Fieldset开始标签：&lt;fieldset&gt;</h2>
                            <pre>openFieldset(array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_closeFieldset"></a>
                        <div class="element clickable method public  method_closeFieldset" data-toggle="collapse" data-target=".method_closeFieldset .collapse">
                            <h2>获取Fieldset结束标签：&lt;/fieldset&gt;</h2>
                            <pre>closeFieldset() : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_legend"></a>
                        <div class="element clickable method public  method_legend" data-toggle="collapse" data-target=".method_legend .collapse">
                            <h2>获取legend标签：&lt;legend&gt;&lt;/legend&gt;</h2>
                            <pre>legend(string $content, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$content</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_contentType"></a>
                        <div class="element clickable method public  method_contentType" data-toggle="collapse" data-target=".method_contentType .collapse">
                            <h2>获取meta标签：&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;</h2>
                            <pre>contentType() : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_meta"></a>
                        <div class="element clickable method public  method_meta" data-toggle="collapse" data-target=".method_meta .collapse">
                            <h2>获取meta标签：&lt;meta name=&quot;&quot; http-equiv=&quot;&quot; content=&quot;&quot; /&gt;</h2>
                            <pre>meta(string $content, string $httpEquiv = &#039;&#039;, string $name = &#039;&#039;, array $attributes = array(), string $pad = &quot;\n&quot;) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$content</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$httpEquiv</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$pad</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_link"></a>
                        <div class="element clickable method public  method_link" data-toggle="collapse" data-target=".method_link .collapse">
                            <h2>获取link标签：&lt;link rel=&quot;&quot; type=&quot;&quot; href=&quot;&quot; /&gt;</h2>
                            <pre>link(string $relation = null, string $type = null, string $href = null, string $media = null, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$relation</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$type</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$href</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$media</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_tag"></a>
                        <div class="element clickable method public  method_tag" data-toggle="collapse" data-target=".method_tag .collapse">
                            <h2>通过标签名，获取Html标签</h2>
                            <pre>tag(string $name, array $attributes = array(), mixed $content = false, boolean $closeTag = true) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$content</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$closeTag</h4>
                                                <code>boolean</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_openTag"></a>
                        <div class="element clickable method public  method_openTag" data-toggle="collapse" data-target=".method_openTag .collapse">
                            <h2>通过标签名，获取Html开始标签</h2>
                            <pre>openTag(string $name, array $attributes = array()) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_closeTag"></a>
                        <div class="element clickable method public  method_closeTag" data-toggle="collapse" data-target=".method_closeTag .collapse">
                            <h2>通过标签名，获取Html结束标签</h2>
                            <pre>closeTag(string $name) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$name</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_parseAttributes"></a>
                        <div class="element clickable method public  method_parseAttributes" data-toggle="collapse" data-target=".method_parseAttributes .collapse">
                            <h2>拼接Html标签中的属性</h2>
                            <pre>parseAttributes(array $attributes, boolean $encode = true) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$attributes</h4>
                                                <code>array</code><p></p>
                                            </div>
                                                                                    <div class="subelement argument">
                                                <h4>$encode</h4>
                                                <code>boolean</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_encode"></a>
                        <div class="element clickable method public  method_encode" data-toggle="collapse" data-target=".method_encode .collapse">
                            <h2>对页面展示内容编码</h2>
                            <pre>encode(mixed $param) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$param</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_decode"></a>
                        <div class="element clickable method public  method_decode" data-toggle="collapse" data-target=".method_decode .collapse">
                            <h2>对页面展示内容解码</h2>
                            <pre>decode(mixed $value) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$value</h4>
                                                <code>mixed</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_getEncoding"></a>
                        <div class="element clickable method public  method_getEncoding" data-toggle="collapse" data-target=".method_getEncoding .collapse">
                            <h2>获取页面编码方式</h2>
                            <pre>getEncoding() : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                    
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_setEncoding"></a>
                        <div class="element clickable method public  method_setEncoding" data-toggle="collapse" data-target=".method_setEncoding .collapse">
                            <h2>设置页面编码方式</h2>
                            <pre>setEncoding(string $encoding) : \tfc\mvc\Html</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$encoding</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code><a href="../classes/tfc.mvc.Html.html">\tfc\mvc\Html</a></code><p></p>
                                                                    </div>
                            </div>
                        </div>
                                            <a id="method_cdata"></a>
                        <div class="element clickable method public  method_cdata" data-toggle="collapse" data-target=".method_cdata .collapse">
                            <h2>忽略文本中被解析的字符数据</h2>
                            <pre>cdata(string $text) : string</pre>
                            <div class="labels">
                                                                                                                                                                                            </div>
                            <div class="row collapse">
                                <div class="detail-description">
                                    <div class="long_description"></div>

                                    <table class="table">
                                                                                    <tr>
                                                <th>
                                                    
                                                </th>
                                                <td>
                                                                                                    </td>
                                            </tr>
                                                                            </table>

                                                                            <h3>Arguments</h3>
                                                                                    <div class="subelement argument">
                                                <h4>$text</h4>
                                                <code>string</code><p></p>
                                            </div>
                                                                            
                                                                            <h3>Response</h3>
                                        <code>string</code><p></p>
                                                                    </div>
                            </div>
                        </div>
                    
                    
                                                                <h3><i class="icon-custom icon-property"></i> Properties</h3>
                                                    <a id="property__encoding"> </a>
                            <div class="element clickable property  protected property__encoding" data-toggle="collapse" data-target=".property__encoding .collapse">
                                <h2>页面编码方式</h2>
                                <pre>_encoding : string</pre>
                                <div class="labels">
                                                                                                        </div>
                                <div class="row collapse">
                                    <div class="detail-description">
                                        <div class="long_description"></div>

                                        <table class="table">
                                                                                            <tr>
                                                    <th>
                                                        var
                                                    </th>
                                                    <td>
                                                                                                                    <p>页面编码方式</p>
                                                                                                            </td>
                                                </tr>
                                                                                            <tr>
                                                    <th>
                                                        
                                                    </th>
                                                    <td>
                                                                                                            </td>
                                                </tr>
                                                                                    </table>

                                                                                    <h3>Type(s)</h3>
                                            <code>string</code>
                                                                            </div>
                                </div>
                            </div>
                                                            </div>
            </div>
            <a id="\tfc\mvc\Html"></a>
            <ul class="breadcrumb">
                <li><a href="../index.html"><i class="icon-custom icon-class"></i></a></li>
                    
    
    <li><span class="divider">\</span><a href="../namespaces/tfc.mvc.html">mvc</a></li>

                <li class="active"><span class="divider">\</span><a href="../classes/tfc.mvc.Html.html">Html</a></li>
            </ul>
        </div>
    </div>

    </div>

        <footer class="span12">
            Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by
            <a href="http://glyphicons.com/">Glyphicons</a>.<br/>
            Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and<br/>
            generated on Sat, 27 Dec 2014 06:16:37 +0000.<br/>
    </footer>
    </body>
</html>
